﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ProjectFitus.Models.User>" %>


            <h4><b>Mínar upplýsingar</b></h4>

            <table class="beiðnitafla">
            <thead>
                    <tr id="UserEdit">
                        <th></th>
                        <th>Gamlar upplýsingar</th>
                        <th>Breyttar upplýsingar</th>
                            
                    </tr>
            </thead>
            <tbody>
                <tr>
                    <td>
                        <label for ="FirstName">Nafn: </label>
                    </td>
                    <td>
                        <%=Model.firstName%>
                    </td>
                    <td>
                        <input type ="text" id ="firstName" name="firstName" value="<%=Model.firstName%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for ="lastName">SeinnaNafn: </label>
                    </td>
                    <td>
                        <%=Model.lastName%>
                    </td>
                    <td>
                        <input type ="text" id ="lastName" name ="lastName" value="<%=Model.lastName%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for ="Email">Email: </label>
                    </td>
                    <td>
                        <%=Model.email%>
                    </td>
                    <td>
                        <input type ="text" id ="email" name ="email" value="<%=Model.email%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for ="userName">Notendanafn: </label>
                    </td>
                    <td>
                        <%=Model.userName%>
                    </td>
                    <td>
                        <input type ="text" id ="userName" name="userName" value="<%=Model.userName%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for ="userDescription">Lýsing á mér: </label>
                    </td>
                    <td>
                        <%=Model.userDescription%>
                    </td>
                    <td>
                        <input type ="text" id ="userDescription" name="userDescription" value="<%=Model.userDescription%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for ="country">Hvaðan ertu: </label>
                    </td>
                    <td>
                        <%=Model.country%>
                    </td>
                    <td>
                        <input type ="text" id ="country" name="country" value="<%=Model.country%>" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for ="dateOfBirth">Afmælisdagur: </label>
                    </td>
                    <td>
                        <%=Model.dateOfBirth%>
                    </td>
                    <td>
                        <input type ="text" id ="dateOfBirth" name="dateOfBirth" value="<%=Model.dateOfBirth%>" />
                    </td>
                </tr>
            </tbody>
            </table>
            
            <%= Html.HiddenFor(model => model.id)%>
            
   